package com.leyou.page.entity;


import com.leyou.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "tb_sku")
public class Sku extends BaseEntity {
    @Id
    private Long id;
    @Column(name = "spu_id")
    private Long spuId;
    private String title;
    private String images;
    private Integer stock;
    private Long price;
    private String indexes;
    private Long sold;
    @Column(name = "special_spec")
    private String specialSpec;
    private Boolean saleable;
}
